package com.jdone.compus.dto;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class UsageStatsDto {
    private String period;          // yyyy-MM-dd or yyyy-MM
    private Long orderCount;
    private BigDecimal totalAmount;

    public UsageStatsDto() {}
    public UsageStatsDto(String period, Long orderCount, BigDecimal totalAmount) {
        this.period = period;
        this.orderCount = orderCount;
        this.totalAmount = totalAmount;
    }
}

